package com.aliyun.oss.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

//@Component
public class MyTask {
    /*处理超时订单*/
    @Scheduled(cron = "0/5 * * * * ?")
    public void task1() {
        System.out.println("task1");
    }



}
